<template>
  <div class="hello">
    <h1>{{ msg }}</h1>
    
  </div>
</template>

<script>
//var sitemap = require('sitemap-nodejs');
import sitemap from 'sitemap-nodejs';


export default {
  name: 'SiteMap',
  props: {
    msg: String
  },
  mounted: function () {     //页面加载完成后执行的方法
    sitemap.init({
      href:'https://mstar.ai',
      save_path:'sitemap.xml'
    }); 
  },
  methods: {　　　　//盒子中所有方法
    
  },
  created() {　　　　//实例被创建时候执行

  },
  computed: {
  }
}  
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
h3 {
  margin: 40px 0 0;
}
ul {
  list-style-type: none;
  padding: 0;
}
li {
  display: inline-block;
  margin: 0 10px;
}
a {
  color: #42b983;
}
</style>
